#!/usr/local/bin/php
<?php
/*
$to = "cyang255@yahoo.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.\n\nCharles";
$from = "FRCC ADMIN";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
*/

$to = "cyang255@yahoo.com, support@frccinnerlife.org:587";
$subject = "HTML email";$message = "
<html>
<head>
<title>HTML email</title>
</head>
<body>
<p>This email contains HTML Tags!</p>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Charles</td>
<td>Smith</td>
</tr>
</table>
</body>
</html>";

// Always set content-type when sending HTML email

$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";// More headers
$headers .= 'From:FRCC Admin<support@frccinnerlife.org>' . "\r\n";
$headers .= "\r\n";

mail($to,$subject,$message,$headers);


?>